﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009C9 RID: 2505
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KDJPHDGEPNA : IMessage<KDJPHDGEPNA>, IMessage, IEquatable<KDJPHDGEPNA>, IDeepCloneable<KDJPHDGEPNA>, IBufferMessage
	{
		// Token: 0x17001FB1 RID: 8113
		// (get) Token: 0x0600704F RID: 28751 RVA: 0x0012CAC8 File Offset: 0x0012ACC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KDJPHDGEPNA> Parser
		{
			get
			{
				return KDJPHDGEPNA._parser;
			}
		}

		// Token: 0x17001FB2 RID: 8114
		// (get) Token: 0x06007050 RID: 28752 RVA: 0x0012CACF File Offset: 0x0012ACCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KDJPHDGEPNAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001FB3 RID: 8115
		// (get) Token: 0x06007051 RID: 28753 RVA: 0x0012CAE1 File Offset: 0x0012ACE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KDJPHDGEPNA.Descriptor;
			}
		}

		// Token: 0x06007052 RID: 28754 RVA: 0x0012CAE8 File Offset: 0x0012ACE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KDJPHDGEPNA()
		{
		}

		// Token: 0x06007053 RID: 28755 RVA: 0x0012CAF0 File Offset: 0x0012ACF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KDJPHDGEPNA(KDJPHDGEPNA other) : this()
		{
			this.cNPAIGGFKEI_ = other.cNPAIGGFKEI_;
			this.iIMOJDEPJAI_ = other.iIMOJDEPJAI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007054 RID: 28756 RVA: 0x0012CB21 File Offset: 0x0012AD21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KDJPHDGEPNA Clone()
		{
			return new KDJPHDGEPNA(this);
		}

		// Token: 0x17001FB4 RID: 8116
		// (get) Token: 0x06007055 RID: 28757 RVA: 0x0012CB29 File Offset: 0x0012AD29
		// (set) Token: 0x06007056 RID: 28758 RVA: 0x0012CB31 File Offset: 0x0012AD31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool CNPAIGGFKEI
		{
			get
			{
				return this.cNPAIGGFKEI_;
			}
			set
			{
				this.cNPAIGGFKEI_ = value;
			}
		}

		// Token: 0x17001FB5 RID: 8117
		// (get) Token: 0x06007057 RID: 28759 RVA: 0x0012CB3A File Offset: 0x0012AD3A
		// (set) Token: 0x06007058 RID: 28760 RVA: 0x0012CB42 File Offset: 0x0012AD42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IIMOJDEPJAI
		{
			get
			{
				return this.iIMOJDEPJAI_;
			}
			set
			{
				this.iIMOJDEPJAI_ = value;
			}
		}

		// Token: 0x06007059 RID: 28761 RVA: 0x0012CB4B File Offset: 0x0012AD4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KDJPHDGEPNA);
		}

		// Token: 0x0600705A RID: 28762 RVA: 0x0012CB59 File Offset: 0x0012AD59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KDJPHDGEPNA other)
		{
			return other != null && (other == this || (this.CNPAIGGFKEI == other.CNPAIGGFKEI && this.IIMOJDEPJAI == other.IIMOJDEPJAI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600705B RID: 28763 RVA: 0x0012CB98 File Offset: 0x0012AD98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CNPAIGGFKEI)
			{
				num ^= this.CNPAIGGFKEI.GetHashCode();
			}
			if (this.IIMOJDEPJAI != 0U)
			{
				num ^= this.IIMOJDEPJAI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600705C RID: 28764 RVA: 0x0012CBF0 File Offset: 0x0012ADF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600705D RID: 28765 RVA: 0x0012CBF8 File Offset: 0x0012ADF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600705E RID: 28766 RVA: 0x0012CC04 File Offset: 0x0012AE04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CNPAIGGFKEI)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.CNPAIGGFKEI);
			}
			if (this.IIMOJDEPJAI != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.IIMOJDEPJAI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600705F RID: 28767 RVA: 0x0012CC60 File Offset: 0x0012AE60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CNPAIGGFKEI)
			{
				num += 2;
			}
			if (this.IIMOJDEPJAI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IIMOJDEPJAI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007060 RID: 28768 RVA: 0x0012CCAC File Offset: 0x0012AEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KDJPHDGEPNA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CNPAIGGFKEI)
			{
				this.CNPAIGGFKEI = other.CNPAIGGFKEI;
			}
			if (other.IIMOJDEPJAI != 0U)
			{
				this.IIMOJDEPJAI = other.IIMOJDEPJAI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007061 RID: 28769 RVA: 0x0012CCFC File Offset: 0x0012AEFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007062 RID: 28770 RVA: 0x0012CD08 File Offset: 0x0012AF08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.IIMOJDEPJAI = input.ReadUInt32();
					}
				}
				else
				{
					this.CNPAIGGFKEI = input.ReadBool();
				}
			}
		}

		// Token: 0x04002AD8 RID: 10968
		private static readonly MessageParser<KDJPHDGEPNA> _parser = new MessageParser<KDJPHDGEPNA>(() => new KDJPHDGEPNA());

		// Token: 0x04002AD9 RID: 10969
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002ADA RID: 10970
		public const int CNPAIGGFKEIFieldNumber = 8;

		// Token: 0x04002ADB RID: 10971
		private bool cNPAIGGFKEI_;

		// Token: 0x04002ADC RID: 10972
		public const int IIMOJDEPJAIFieldNumber = 10;

		// Token: 0x04002ADD RID: 10973
		private uint iIMOJDEPJAI_;
	}
}
